package com.longway.core.ext.render.download;

import java.io.File;
import java.io.IOException;

import com.jfinal.render.FileRender;
import com.longway.common.kit.FileKit;

public class DDFileRender extends FileRender {

	public DDFileRender(File file) {
		super(file);
	}

	@Override
	public void render() {
		super.render();
		try {
			FileKit.del(file);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	
}

